[INFO] cloning repository https://github.com/lzt1008/instance_code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lzt1008/instance_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzt1008%2Finstance_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzt1008%2Finstance_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e82c42a9761e45b5f0bc39e7c9af8f7bb2a46c2b
[INFO] fixing lzt1008/instance_code against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flzt1008%2Finstance_code" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lzt1008/instance_code
[INFO] finished tweaking git repo https://github.com/lzt1008/instance_code
[INFO] tweaked toml for git repo https://github.com/lzt1008/instance_code written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lzt1008/instance_code on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lzt1008/instance_code already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390
[INFO] running `Command { std: "docker" "start" "67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating derive/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling serde_json v1.0.118
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking winnow v0.6.13
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking quote v1.0.36
[INFO] [stderr]     Checking syn v2.0.68
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]     Checking serde_spanned v0.6.6
[INFO] [stderr]     Checking toml_datetime v0.6.6
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking toml_edit v0.22.14
[INFO] [stderr]     Checking instance_code_derive v0.1.1 (/opt/rustwide/workdir/derive)
[INFO] [stderr]    Migrating derive/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed derive/src/lib.rs (2 fixes)
[INFO] [stderr]     Checking toml v0.8.14
[INFO] [stderr]     Checking instance_code v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating derive/tests/mod.rs from 2021 edition to 2024
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]  --> derive/tests/mod.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(InstanceCode)]
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `instance_code_derive` (test "mod") due to 12 previous errors
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> derive/tests/mod.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     #[derive(InstanceCode)]
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> derive/tests/mod.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     #[derive(InstanceCode)]
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> derive/tests/mod.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |     #[derive(InstanceCode)]
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> derive/tests/mod.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 |     #[derive(InstanceCode)]
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> derive/tests/mod.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 |     #[derive(InstanceCode)]
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for enum `test_derive_enum::Test` in the current scope
[INFO] [stdout]   --> derive/tests/mod.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout]  8 |     enum Test {
[INFO] [stdout]    |     --------- method `instance_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     assert_eq!(test_a.instance_code().to_string(), "Test :: A (42u32 ,)");
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ method not found in `test_derive_enum::Test`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for enum `test_derive_enum::Test` in the current scope
[INFO] [stdout]   --> derive/tests/mod.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout]  8 |     enum Test {
[INFO] [stdout]    |     --------- method `instance_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |         test_b.instance_code().to_string(),
[INFO] [stdout]    |                ^^^^^^^^^^^^^ method not found in `test_derive_enum::Test`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for struct `test_derive_struct::Test` in the current scope
[INFO] [stdout]   --> derive/tests/mod.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     struct Test {
[INFO] [stdout]    |     ----------- method `instance_code` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |         test.instance_code().to_string(),
[INFO] [stdout]    |              ^^^^^^^^^^^^^ method not found in `test_derive_struct::Test`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 38 |         test.a.instance_code().to_string(),
[INFO] [stdout]    |              ++
[INFO] [stdout] 38 |         test.b.instance_code().to_string(),
[INFO] [stdout]    |              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for enum `test_derive_recursive::Test` in the current scope
[INFO] [stdout]   --> derive/tests/mod.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     enum Test {
[INFO] [stdout]    |     --------- method `instance_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 65 |         test.instance_code().to_string(),
[INFO] [stdout]    |              ^^^^^^^^^^^^^ method not found in `test_derive_recursive::Test`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for enum `test_derive_with_path::Test` in the current scope
[INFO] [stdout]   --> derive/tests/mod.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     enum Test {
[INFO] [stdout]    |     --------- method `instance_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 80 |     let output = test.instance_code();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ method not found in `test_derive_with_path::Test`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `instance_code` exists on the type `u32`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn instance_code(&self) -> TokenStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for enum `test_derive_with_multi_path::Test` in the current scope
[INFO] [stdout]   --> derive/tests/mod.rs:95:23
[INFO] [stdout]    |
[INFO] [stdout] 89 |     enum Test {
[INFO] [stdout]    |     --------- method `instance_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 95 |     let output = test.instance_code();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ method not found in `test_derive_with_multi_path::Test`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `instance_code` exists on the type `u32`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn instance_code(&self) -> TokenStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr]    Migrating derive/tests/derive.rs from 2021 edition to 2024
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]  --> derive/tests/derive.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     #[derive(InstanceCode)]
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: Failed to parse gen_impl: Error("unexpected end of input, expected token tree")
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `instance_code` found for struct `TestA` in the current scope
[INFO] [stdout]   --> derive/tests/derive.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout]  6 |     struct TestA {
[INFO] [stdout]    |     ------------ method `instance_code` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let code = a.instance_code();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^ method not found in `TestA`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `instance_code`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `InstanceCode`
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let code = a.a.instance_code();
[INFO] [stdout]    |                  ++
[INFO] [stdout] 12 |     let code = a.b.instance_code();
[INFO] [stdout]    |                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `instance_code_derive` (test "derive") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390", kill_on_drop: false }`
[INFO] [stdout] 67225c93ca48215f374ba007c958a94b330b3f020fdf907e577b5a86a2b4e390
